package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.app.PowerBilling;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PowerBillingMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PowerBilling record);

    int insertSelective(PowerBilling record);

    List<PowerBilling> getPowerBilling(Long deviceId);

    int delByDeviceId(Long deviceId);

    int insertBatch(@Param("list")List<PowerBilling> powerBillings);

    PowerBilling selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PowerBilling record);

    int updateByPrimaryKey(PowerBilling record);
}